﻿using System;
using System.Collections.Generic;
using Nop.Core.Domain.Orders;
using Nop.Core.Domain.Payments;

namespace Nop.Core.Domain.Tradings
{
    public class Trading:BaseEntity
    {
        public int TradingId { get; set; }
        public DateTime Created{ get; set; }



        private ICollection<Order> _orders;

        public virtual ICollection<Order> Orders
        {
            get { return _orders ?? (_orders = new List<Order>()); }
            protected set { _orders = value; }
        }


        /// <summary>
        /// Gets or sets the payment method system name
        /// </summary>
        public virtual string PaymentMethodSystemName { get; set; }

    }
}